.custom-boxgroup-container {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  height: 300px;
  background-color: #fff;

  .boxgroup-box {
    position: relative;
    display: flex;
    background-color: #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s ease;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.1));
    cursor: pointer;
  }

  .boxgroup-box-a {
    flex: 3;
  }

  .boxgroup-box-b {
    flex: 1;
  }

  .boxgroup-box-c {
    flex: 1;
  }

  .boxgroup-active {
    flex: 5;
  }

  .boxgroup-inactive {
    flex: 1;
  }

  .boxgroup-content {
    display: flex;
    width: 100%;
    height: 100%;
  }

  .boxgroup-subBox {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex: 1;
    background-color: rgba(249, 249, 252, 1);
    max-width: 100%;
  }
  .boxgroup-subBox-square {
    flex: 0.3;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #222;
    background-color: rgba(249, 249, 252, 1);
    letter-spacing: 1.5px;
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  .boxgroup-collapsedLabel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #222;
    background: rgba(255, 255, 255, 0.92);
    letter-spacing: 1.5px;
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  .boxgroup-inactive .boxgroup-collapsedLabel {
    opacity: 1;
  }

  .boxgroup-active .boxgroup-collapsedLabel {
    opacity: 0;
  }
}
